WorkbookReplace(String, Run) Method
Replaces all occurrences of the specified text with a copy of the specified
run. A cell which holds plain text is converted into a rich text cell, the text
before and after the replaced text keeps its format.
Namespace: Independentsoft.Office.SpreadsheetAssembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
public int Replace(
string text,
Run run
)
Public Function Replace (
text As String,
run As Run
) As Integer
- text String
- The text to replace.
- run Run
- The Run that replaces the text.
Int32The number of replaced occurrences.